<template>
  <div>
    <Head @newNodeEvent="parentLisen"></Head>
    <Grsf1 v-if="choose === '0'"></Grsf1>
    <Grsf3 v-if="choose === '1'"></Grsf3>
    <Grsf4 v-if="choose === '2'"></Grsf4>
    <EnterpriseCenter v-if="choose === '3'"></EnterpriseCenter>
    <CollegeHome v-if="choose === '4'"></CollegeHome>
    <CollegeBranch v-if="choose === '5'"></CollegeBranch>
    <Learning v-if="choose === '6'"></Learning>
  </div>
</template>

<script>
import Head from "../components/head";
import Grsf1 from "./grsf1";
import Grsf3 from "./grsf3";
import Grsf4 from "./grsf4";
import EnterpriseCenter from './EnterpriseCenter.vue'; // 企业中心
import CollegeHome from './CollegeHome.vue'; // 院校中心主账号
import CollegeBranch from './CollegeBranch.vue'; // 院校中心分账号
import Learning from './Learning.vue'; // 学习中心


export default {
  data() {
    return {
      choose: "0"
    };
  },
  components: {
    Head,
    Grsf1,
    Grsf3,
    Grsf4,
    EnterpriseCenter,
    CollegeBranch,
    CollegeHome,
    Learning
  },
  methods: {
    parentLisen(evtValue) {
      this.choose = evtValue
    }
  }
};
</script>

<style>
</style>
